package online.shenme.day10;

import java.util.List;
import java.util.Map;

public class VaryParameter {
    public static void main(String[] args) {
        System.out.println(getSum());
    }

    private static int getSum(int... a) {
        int sum=0;
        for (int i : a) {
            sum+=i;
        }
        return sum;
    }
}
